package com.nix.web.databases.pojo.word;

import com.nix.web.databases.pojo.BasePojo;

import java.util.List;

/**
 * @author zhangpei
 * @Email zhangpe0312@qq.com
 * @day 2017/11/1 23:30
 * @Use 单词类别
 * name 词性名字
 * mark 词性符号
 * introduction 词性详解
 * superior 该词性的上一级词性
 */
public class Category extends BasePojo {
    private String name;
    private String mark;
    private String introduction;
    private Integer superior;

    /**
     * 一个词性有多个单词
     * 一个单词值有一个词性
     */
    private List<Word> words;


    public Integer getSuperior() {
        return superior;
    }

    public void setSuperior(Integer superior) {
        this.superior = superior;
    }

    public List<Word> getWords() {
        return words;
    }

    public void setWords(List<Word> words) {
        this.words = words;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}
